/**
 * @author Caius
 * @description
 *      定义外股大盘的领域对象
 * @version 1.0
 * @since Created in 2025-01-23
 */

package com.itsense.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "定义外股大盘的领域对象")
@Data
public class OuterMarketDomain {
    /**
     * 大盘名称
     */
    @ApiModelProperty("大盘名称")
    private String name;
    /**
     * 当前点
     */
    @ApiModelProperty("当前点")
    private String curPoint;
    /**
     * 涨跌值
     */
    @ApiModelProperty("涨跌值")
    private String upDown;
    /**
     * 涨幅
     */
    @ApiModelProperty("涨幅")
    private String rose;
    /**
     * 当前时间
     */
    @ApiModelProperty("当前时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String curTime;
}
